package com.campus.shop.controller.web.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Description:
 * @Author: xr
 * @Date: 2024/1/3 8:58
 */
@Data
public class GoodsCartVo {
    private Integer id;
    private String goodsName;
    private Integer goodsId;
    private String goodsIntro;
    private Integer goodsNum;
    private String goodsImg;
    private String goodsParams;
    private Integer saleId;
    private String storeName;
    private String saleName;
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal goodsPrice;
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal totalPrice;
}
